<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>商品详情页</title>
    <script th:replace="common/head::head"></script>
</head>

<body>
    <div th:replace="common/head::headTitle"></div>
    商品名称：<input type="text" th:value="${goods.goodsName}">
    <div th:text="${goods.description}">DIV内容</div>
    <div th:text="${goods.goodsId}">DIV内容</div>

    <div th:object="${goods}">
        商品名称：<input th:value="*{goodsName}">
    </div>

    <div th:text="#{name}"></div>
    <div th:text="'姓名：' + #{name}"></div>
</body>
<script th:src="@{/static/js/jq.js}"></script>

</html>